/*
  Copyright 2011 The Rhizosphere Authors. All Rights Reserved.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/

/* Styles shared across all the application tabs. */

@external .gwt-TabLayoutPanel, .gwt-TabLayoutPanelTab-selected, .gwt-TabLayoutPanelTab, .gwt-TabLayoutPanelContent;
.rhizosphereTabs.gwt-TabLayoutPanel .gwt-TabLayoutPanelTab {
  background-image: literal("-webkit-gradient(linear, 0 0, 0 100%, from(#6391DE), to(#426DC9))");
  background-image: literal("-moz-linear-gradient(-90deg, #6391DE, #426DC9)");
  background-color: #6391DE;
  border-top-right-radius: 2px;
  border-top-left-radius: 2px;
  -moz-border-radius: 2px 2px 0 0;
  color: white;
  font-size: 1.1em;
}

.rhizosphereTabs.gwt-TabLayoutPanel .gwt-TabLayoutPanelTab-selected {
  background-image: literal("-webkit-gradient(linear, 0 0, 0 100%, from(#426DC9), to(#0F3A96)) !important"); 
  background-image: literal("-moz-linear-gradient(-90deg, #426DC9, #0F3A96)");
  background-color: #426DC9;
}

.rhizosphereTabs.gwt-TabLayoutPanel .gwt-TabLayoutPanelContent {
  border-color: #0F3A96;
  border-width: 2px 0 0 0;
  -moz-box-shadow: 0 3px 3px #ccc inset;
  -webkit-box-shadow: 0 3px 3px #ccc inset;
  box-shadow: 0 3px 3px #ccc inset;
}

.rhizosphereTabs.gwt-TabLayoutPanel .gwt-TabLayoutPanelContent H3 {
  float: right;
  margin: 0;
  padding: 1em;
  background-color: #eee;
  border: 1px solid #ccc;
  -moz-box-shadow: -1px 1px 2px #ddd;
  -webkit-box-shadow: -1px 1px 2px #ddd;
  box-shadow: -1px 1px 2px #ddd; 
}

.expandToFill {
  position: absolute !important;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.demoOverview {
  padding: 0 0.5em;
}